﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using Noodles.Core.Model;

namespace Noodles.Core.Repositories
{
    public interface INoodlesRepository
    {
        IEnumerable<Categories> GetCategories();
        IEnumerable<Pages> GetPages();
        PagedData<BlogPost> GetPagedBlog(string page, int pagenumber, int PageSize);
        PagedData<BlogPost> GetPagedData(int page);
        IEnumerable<BlogPost> GetBlogFromTitle(String title);
        IEnumerable<Comments> GetCommentsFromBlogID(int blogID);
    }
}
